
package com.bdqn.pojo;
public class Book {

  private Integer bid;
  private String bName;
  private String author;
  private String pubComp;
  private String pubDate;
  private Integer bCount;
  private Float price;

  public Book(String bName, String author, String pubComp, String pubDate, Integer bCount, Float price) {
    this.bName = bName;
    this.author = author;
    this.pubComp = pubComp;
    this.pubDate = pubDate;
    this.bCount = bCount;
    this.price = price;
  }

  public Book() {
  }

  @Override
  public String toString() {
    return "Book{" +
            "bid=" + bid +
            ", bName='" + bName + '\'' +
            ", author='" + author + '\'' +
            ", pubComp='" + pubComp + '\'' +
            ", pubDate='" + pubDate + '\'' +
            ", bCount=" + bCount +
            ", price=" + price +
            '}';
  }

  public Integer getBid() {
    return bid;
  }

  public void setBid(Integer bid) {
    this.bid = bid;
  }

  public String getbName() {
    return bName;
  }

  public void setbName(String bName) {
    this.bName = bName;
  }

  public String getAuthor() {
    return author;
  }

  public void setAuthor(String author) {
    this.author = author;
  }

  public String getPubComp() {
    return pubComp;
  }

  public void setPubComp(String pubComp) {
    this.pubComp = pubComp;
  }

  public String getPubDate() {
    return pubDate;
  }

  public void setPubDate(String pubDate) {
    this.pubDate = pubDate;
  }

  public Integer getbCount() {
    return bCount;
  }

  public void setbCount(Integer bCount) {
    this.bCount = bCount;
  }

  public Float getPrice() {
    return price;
  }

  public void setPrice(Float price) {
    this.price = price;
  }
}
